package com.iafme.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author summer
 * @version 1.0
 * @date 2025/3/25 17:15
 */
@Data
@TableName("iafme_certificate_order")
public class CertificateOrder implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("orderNo")
    private String orderNo;

    @TableField("payTime")
    private LocalDateTime payTime;

    @TableField("examTime")
    private LocalDateTime examTime;

    @TableField("projectId")
    private Integer projectId;

    @TableField("levelId")
    private Integer levelId;

    @TableField("avatarImage")
    private String avatarImage;

    @TableField("payType")
    private Integer payType;

    @TableField("details")
    private String details;

    private Integer status;

    private BigDecimal amount;

    /**
     *  0 支付 取消 1审核中 2审核通过 3审核未通过
     */
    private Integer authorization;

    @TableField("memberId")
    private Integer memberId;

    @TableField("examineText")
    private String examineText;

    @TableField("examineTime")
    private LocalDateTime examineTime;



}
